<template>
    <div class="footer">
        <ul class="foot">
            <li>
                <span>客户服务</span>
                <div>
                    <p class="p">
                        <i class="iconfont icon-kefu"></i>
                        <span>在线客服</span>
                    </p>
                    <p class="p">
                        <i class="iconfont icon-question"></i>
                        <span>问题反馈</span>
                    </p>
                </div>
            </li>
            <li>
                <span>关注我们</span>
                <div>
                    <p class="p">
                        <i class="iconfont icon-weixin"></i>
                        <span>公众号</span>
                    </p>
                    <p class="p">
                        <i class="iconfont icon-weibo"></i>
                        <span>微博</span>
                    </p>
                </div>
            </li>
            <li>
                <span>下载APP</span>
                <div>
                    <p class="p1">
                        <img src="@/assets/homeImg/qrcode.5372a064.jpg" alt="">
                    </p>
                    <p class="p2">
                        <span>扫描二维码</span>
                        <span>立马下载APP</span>
                        <button>下载页面</button>
                    </p>
                </div>
            </li>
            <li>
                <span>服务热线</span>
                <div class="d1">
                    <p>400-0000-000</p>
                    <p class="p3">周一至周日8:00-18:00</p>
                </div>
            </li>
        </ul>
        <div class="bottom">
            <div class="bottom1">
                <div class="q">
                    <i class="iconfont icon-footer01"></i>
                    <span>价格亲民</span>
                </div>
                <div>
                    <i class="iconfont icon-footer02"></i>
                    <span>物流快捷</span>
                </div>
                <div>
                    <i class="iconfont icon-footer03"></i>
                    <span>品质新鲜</span>
                </div>
            </div>
            <div class="bottom2">
                <ul>
                    <li>关于我们</li>
                    <li>帮助中心</li>
                    <li>售后服务</li>
                    <li>配送与验收</li>
                    <li>商务合作</li>
                    <li>搜索推荐</li>
                    <li>友情链接</li>
                </ul>
                <div>CopyRight © 小兔鲜儿</div>
            </div>
        </div>
    </div>

</template>


<style lang="scss" scoped>
@import '@/assets/css/variables.scss';

.footer {
    width: 100%;
    height: 250px;

    .foot {
        width: 1240px;
        height: 250px;
        margin: auto;
        background: white;
        display: flex;
        justify-content: space-around;
        align-items: center;

        // background: orange;
        >li {
            // background: yellow;
            width: 210px;
            height: 190px;
            display: flex;
            flex-direction: column;
            align-items: center;

            span {
                color: gray;
                font-size: 20px;
            }

            .d1 {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                font-size: 20px;

                .p3 {
                    font-size: 16px;
                    color: gray;
                }
            }

            div {
                width: 200px;
                height: 90px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 40px;

                .p {
                    width: 90px;
                    height: 80px;
                    border: 1px solid gray;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-around;
                    align-items: center;
                    color: gray;
                    i:hover{
                        color: $xtxColor;
                    }

                    span {
                        font-size: 16px;
                    }

                    i {
                        font-size: 40px;
                    }
                }

                .p1 {
                    width: 90px;
                    height: 80px;
                    border: 1px solid gray;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    img {
                        width: 80%;
                        height: 80%;
                    }
                }

                .p2 {
                    width: 90px;
                    height: 80px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-around;
                    align-items: center;

                    span {
                        font-size: 12px;
                    }

                    button {
                        background: $xtxColor;
                        color: white;
                        width: 100px;
                        height: 30px;
                        border-radius: 2px;
                        border: none;
                    }

                }
            }
        }
    }

    .bottom {
        width: 100%;
        height: 400px;
        background: #333333;
        margin: auto;

        .bottom1 {
            width: 1240px;
            height: 50%;
            margin: auto;
            border-bottom: 1px solid gray;
            display: flex;
            justify-content: space-around;
            align-items: center;
            color: white;
            font-size: 24px;
            

            div {
                flex: 1;
                // background: orange;
                text-align: center;
                display: flex;
                justify-content: center;
                align-items: center;

                i {
                    font-size: 50px;
                    margin-right: 20px;
                }
                
            }

        }

        .bottom2 {
            width: 1240px;
            height: 50%;
            margin: auto;
            // background: orange;
            padding-top: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;

            div {
                color: gray;
                margin-top: 20px;
            }

            ul {
                width: 600px;
                display: flex;
                justify-content: space-around;

                // background: yellow;
                li {
                    flex: 1;
                    text-align: center;
                    color: gray;
                    border-right: 1px solid gray;
                }

                &>li:last-child {
                    border-right: none;
                }
            }
        }
    }
}
</style>